home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / pbmpl91d.zip / PBMPLUS / MAN / PNMDEPTH.MAN < prev    next >
Text File  |  1993-01-08  |  920b  |  67 lines

  1.  
  2.  
  3. pnmdepth(1)                Unix Programmer's Manual                pnmdepth(1)
  4.  
  5.  
  6. NAME
  7.      pnmdepth - change the maxval in a portable anymap
  8.  
  9. SYNOPSIS
  10.      pnmdepth newmaxval [pnmfile]
  11.               ---------  -------
  12.  
  13. DESCRIPTION
  14.      Reads a portable anymap as input.   Scales  all  the  pixel  values,  and
  15.      writes  out  the image with the new maxval.  Scaling the colors down to a
  16.      smaller maxval will result in some loss of information.
  17.  
  18.      Be careful of off-by-one  errors  when  choosing  the  new  maxval.   For
  19.      instance, if you want the color values to be five bits wide, use a maxval
  20.      of 31, not 32.
  21.  
  22. SEE ALSO
  23.      pnm(5), ppmquant(1), ppmdither(1)
  24.  
  25. AUTHOR
  26.      Copyright (C) 1989, 1991 by Jef Poskanzer.
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                                12 January 1991                               1
  66.  
  67.